﻿using System.Collections.Generic;
using Jsdl.Domain.Type;
using Newtonsoft.Json;

namespace Jsdl.Domain.Input.JsonService
{
	public class JsdlService
	{
		public JsdlService()
		{
			Operations = new Dictionary<string, JsdlOperation>();
			Types = new List<JsdlType>();
		}

		[JsonProperty(PropertyName = "operations")]
		public Dictionary<string, JsdlOperation> Operations { get; set; }

		[JsonProperty(PropertyName = "types")]
		public List<JsdlType> Types { get; set; }
	}
}